package com.plian.system.entity.pm.annualnpassetscancel;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.mybatis.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 年度不良资产核销实体类
 *
 * @author gangan
 * @since 2019-10-23
 */
@Data
@TableName("cqzc_annual_npassets_cancel")
@EqualsAndHashCode(callSuper = true)
public class AnnualNpassetsCancel extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 父节点id
	*/
		private Long parentId;
	/**
	* 原备案编号
	*/
		private String filingCode;
	/**
	* 不良资产核销企业名称(事前)
	*/
		private Long npassetsCompanyId;
	/**
	* 不良资产类型(事前)
	*/
		private Long npassetsType;
	/**
	* 核销不良资产内容(事前)
	*/
		private String npassetsContents;
	/**
	* 账面原值（万元）(事前)
	*/
		private BigDecimal originalBookValue;
	/**
	* 账面净值（万元）(事前)
	*/
		private BigDecimal netBookValue;
	/**
	* 核销净损失（万元）(事前)
	*/
		private BigDecimal writeoffNetLoss;
	/**
	* 备注
	*/
		private String remark;
	/**
	* 乐观锁字段
	*/
		private Integer tsVersion;
	/**
	* 版本号
	*/
		private String version;
	/**
	* 审批人
	*/
		private Long approvedUser;
	/**
	* 审批时间
	*/
		private Date approvedTime;
	/**
	* 审批意见
	*/
		private String approvedOpinion;
	/**
	* 备选1
	*/
		private String def1;
	/**
	* 备选2
	*/
		private String def2;
	/**
	* 备选3
	*/
		private String def3;
	/**
	* 备选4
	*/
		private String def4;
	/**
	* 备选5
	*/
		private String def5;
	/**
	* 备选6
	*/
		private String def6;
	/**
	* 备选7
	*/
		private String def7;
	/**
	* 备选8
	*/
		private String def8;
	/**
	* 备选9
	*/
		private BigDecimal def9;
	/**
	* 备选10
	*/
		private BigDecimal def10;
	/**
	* 备选11
	*/
		private BigDecimal def11;
	/**
	* 备选12
	*/
		private BigDecimal def12;
	/**
	* 备选13
	*/
		private BigDecimal def13;
	/**
	* 备选14
	*/
		private Date def14;
	/**
	* 备选15
	*/
		private Date def15;
	/**
	* 备选16
	*/
		private Date def16;
	/**
	* 备选17
	*/
		private Date def17;
	/**
	* 备选18
	*/
		private Long def18;
	/**
	* 备选19
	*/
		private Long def19;
	/**
	* 备选20
	*/
		private Long def20;
	/**
	* 不良资产核销企业名称(事后)
	*/
		private Long npassetsCompanyIdAfter;
	/**
	* 不良资产类型(事后)
	*/
		private Long npassetsTypeAfter;
	/**
	* 核销不良资产内容(事后)
	*/
		private String npassetsContentsAfter;
	/**
	* 账面原值（万元）(事后)
	*/
		private BigDecimal originalBookValueAfter;
	/**
	* 账面净值（万元）(事后)
	*/
		private BigDecimal netBookValueAfter;
	/**
	* 核销净损失（万元）(事后)
	*/
		private BigDecimal writeoffNetLossAfter;
	/**
	 * 账面原值总值（万元）(事前)往来款项类
	 */
	private BigDecimal bookOriginalValue;
	/**
	 * 坏账损失总额（万元）(事前)往来款项类
	 */
	private BigDecimal totalBadLoss;
	/**
	 * 账面净值总额（万元）(事前)往来款项类
	 */
	private BigDecimal netBookTotal;
	/**
	 * 账面值（万元）(事前)对外投资类
	 */
	private BigDecimal bookValue;
	/**
	 * 收回金额（万元）(事前)对外投资类
	 */
	private BigDecimal recoveryAmount;
	/**
	 * 投资损失总额（万元）(事前)对外投资类
	 */
	private BigDecimal totalInvestmentLosses;

	/**
	 * 账面原值总值（万元）(事后)往来款项类
	 */
	private BigDecimal bookOriginalValueAfter;
	/**
	 * 坏账损失总额（万元）(事后)往来款项类
	 */
	private BigDecimal totalBadLossAfter;
	/**
	 * 账面净值总额（万元）(事后)往来款项类
	 */
	private BigDecimal netBookTotalAfter;
	/**
	 * 账面值（万元）(事后)对外投资类
	 */
	private BigDecimal bookValueAfter;
	/**
	 * 收回金额（万元）(事后)对外投资类
	 */
	private BigDecimal recoveryAmountAfter;
	/**
	 * 投资损失总额（万元）(事后)对外投资类
	 */
	private BigDecimal totalInvestmentLossesAfter;
}
